diff options
Diffstat (limited to 'src/pages/blog/[...date].astro')
-rw-r--r-- | src/pages/blog/[...date].astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/blog/[...date].astro b/src/pages/blog/[...date].astro index 8346baf..c88fc1a 100644 --- a/src/pages/blog/[...date].astro +++ b/src/pages/blog/[...date].astro @@ -212,8 +212,8 @@ const description = "Ultímas publicações" + <h2 itemprop="name description" set:html={title} /> <DateSelector {date} {years} {months} {days} /> <PrevNext - previous={`/blog/${previous}`} - next={`/blog/${next}`} + previous={previous === undefined ? undefined : `/blog/${previous}`} + next={next === undefined ? undefined : `/blog/${next}`} label={format} > <SimplePostList |